package model;

public class mainCategory {

    private int maincategoryId;
    private String name;

 

    public mainCategory() {
        this(-1, "");
    }

    public mainCategory(int maincategory_id, String name) {
        this.maincategoryId = maincategory_id;
        this.name = name;
    }

    /**
     * @return the categoryId
     */
    public int getMainCategoryId() {
        return maincategoryId;
    }


    /**
     * @param categoryId the categoryId to set
     */
    public void setCategoryId(int categoryId) {
        this.maincategoryId = categoryId;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the description
     */

}
